package com.ripjava.java.core.tostring;

public class CustomerComplexObjectToString extends Customer {

	private Order order;


	public CustomerComplexObjectToString(String firstName, String lastName) {
		super(firstName, lastName);
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	@Override
    public String toString() {
        return "Customer [order=" + order + ", getFirstName()=" + getFirstName()
          + ", getLastName()=" + getLastName() + "]";
    }
}
